<tagLib name="html" />
<include file="Public:header" />
<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;添加新导航</div>
</div>
<form action="{YICMS::U('Nav/check')}" method="post">
    <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
        <tr class="header">
            <td colspan="2">添加新导航</td>
        </tr>
        <tr>
            <td class="altbg1" width="40%"><b>父级导航:</b><br><span class="smalltxt">添加新导航时,设置该导航是为哪一级导航下的导航.根栏目即为顶级导航.</span></td>
            <td class="altbg2">
				<select name="pid" style="width:250px;padding:3px;">
					<option value="0">根栏目</option>
					<volist name="list" id="vo">
						<option value="{YICMS:$vo['id']}">
							<php>
									for($i=1;$i<$vo['count'];$i++){
										echo '┣━&nbsp;';
									}
							</php>
							{YICMS:$vo['name']}
						</option>
					</volist>
				</select>
			</td>
        </tr>
		<tr>
            <td class="altbg1" width="40%"><b>新导航名称:</b><br/><span class="smalltxt">新的导航名称!</span></td>
            <td class="altbg2"><input type="text" name="name"/></td>
        </tr>
		<tr>
            <td class="altbg1" width="40%"><b>副标题:</b><br/><span class="smalltxt">副标题,可用于多标识的导航,可不填!</span></td>
            <td class="altbg2"><input type="text" name="sname"/></td>
        </tr>
		<tr>
            <td class="altbg1" width="40%"><b>链接地址:</b><br/><span class="smalltxt">可以是站内地址,（站内地址时从index.php开始,包含index.php）,<br/>也可以是站外地址!</span></td>
            <td class="altbg2"><input type="text" name="url" style="width:300px;"/></td>
        </tr>
		<tr>
            <td class="altbg1" width="40%"><b>静态页面时地址:</b><br/><span class="smalltxt">使用静态页面时,使用的网址!使用静态必填,否则将打不开页面= = 使用绝对路径!</span></td>
            <td class="altbg2"><input type="text" name="title" style="width:300px;"/></td>
        </tr>
		<tr>
            <td class="altbg1" width="40%"><b>导航排序:</b><br/><span class="smalltxt">友情链接显示的顺序.数字越小显示越前面! <font color="red">(只能是数字!)</font></span></td>
            <td class="altbg2"><input type="text" name="taxis" style="width:80px;" value="10"/></td>
        </tr>
    </table>
    <br>
    <center><input type="submit" class="button" value="添 加"></center><br>
</form>
<br>
<include file="Public:footer" />